added rmFitOfRegion