Make it possible to specify number of cores and the first core to be
used at run time.