Modifed HaplotypeBuilder.cpp