delete unused mapRTreeStyle function