完善tree