Generating regions position