change num of cores