Modified haplotype_phaser