randomWalkFactory uses stepGenerator to generate new population.