refactoring the parallel part for crossover
revert selection of random pairs from parallel to sequential