Use of genetic algorithm