linear interpolator complete