Updated dna_chain creation method.