modified bug in twoPointCrossover