Support interpolation for terrain with stride.