[BAM]Implement: Reference cheking in indel realignment functions
[BAM]Implement: Improvements in haplotypes process