rbtree bata