related contours