nearly finish BiTree