interpolate integer