Set default number of threads for the sake of array allocation to 32.