Optimization by hierarchical mutant production