upgrading isosurface filter to handle 2D contours (isolines).