iterating the recombination method for an entire population makes algorithm stuck