rtree is template now