finish valid binary search tree