production ready genetic algorithm