added rounding to parallelism to avoid hanging up of multi thread tests for odd values of parallelism