Regions are now correctly initialized

- previously, not all the regions were initialized (if there were more regions than threads*blocks)