Avoid situation where low max could require a large number of iterations.
Avoid situation where low max could require a large number of iterations.

mattgallagher/CwlSignal,monyschuk/CwlSignal,MomentaBV/CwlUtils,MomentaBV/CwlUtils,mattgallagher/CwlSignal