Box and rtree now is templates