avoid repeated calculations when dS/dy is not in desired range when generating averaging initial conditions