update greedyCrossover