switched to array rtree