Update to speed up the genetic algorithm dataset generation