refactor construct_haplotypes - move unique technique out