implement numeric variable processing for rtree