[rtree] first working version.