optimal-bst is done