optimized interpolation