sets default base for number of threads to 2