finish binary tree finally