r-tree array search works