Using odd-intersections with contours to determine contour parents.