interpolate contour before sampling