split up a function (mc mapping contour)