Track low and high range for iterations while generating.

Rather than scan the fully generated data to determine the min and max
iterations, the generator now updates the values as it goes.