fixed issues with multithreading region info, and added unit test for it.