Working on contour tree.