Allowed for infinite iterations, if desired.