add macro to help zobject
rebuild rb_tree