优化二叉树

optimizing binary tree