Changed the number of threads.