Reduce interpolation order near boundaries