use T over R for generic type in RTree
use T over R for generic type in RTree