rework of 2D contour drawing - usage of Combine macro