contour -> tricontour