Make it easier to modify the number of threads