reset of rb_tree