Fixed mating.
Fixing heuristic.