added check for maxRegions limit