add rbtree remove maintain