completes binary tree