change the nbr of cores used