Change default parameters and correct case when there is only 1 region

1 job for develop-ShapeToMask_single_region
in 3 minutes and 4 seconds, using 0 compute credits, and was queued for 3 seconds