Change bounding logic to iterations < maxIterations