Genetic algorithm optimizations