Extract 2D tree to kp_2dtree