Fixed a bug and added a test for stress.
I fixed a bug in the stress calculation with domain parallelization. Then, I added the test for the stress. This patch passed all the short tests.
I fixed a bug in the stress calculation with domain parallelization. Then, I added the test for the stress. This patch passed all the short tests.