Explicitly set number of cores