fixed bug in regions initialization
Merge pull request #3 from slizzered/bugfix-initialize_regions

fixed bug in regions initialization