avl tree lower_bound and upper_bound implement.