bsplines working. kandu, fix is_contour_edge()