I have not thought this through deeply, but in that case wouldn't it make more sense to do this when calling setIterations?