Number of threads is now set by user.