adjust offset & stop dumping when resid reaches zero.