Optize genetic algorithm