Simplified the interpolation edge cases.