use makeForkCluster for multicore
use makeForkCluster for multicore