remove rbtree dependency