Partial fix of cross-sector contour tracing