Editor: allow user to manually set the number of regions