balanced trees for binary search 8070139