revision of in-memory rtree
second