fixed number of threads