Fix number of threads to 4.