UnitOptimizer::optimize: Now stops the optimization if the population is too small