Modify RegionDB::add_region method.

- remove check dimension consistency
- add code for adding region with undefined dimension