finishing 2dtree