change value field from _value based on avl_tree gem