Making the arguments to get_fitness to be const reference to improve performance