contour to tree added