rewrite rtree and update get_rtree() in netlist classes