improve createRegion