Now we can specify the number of virtual threads used for the Monte-Carlo simulation, although the real number of parallel threads depends on many factors.