Hairpin formation in synthetic oligonucleotides