fixed offset bug for discrete interpolators