support for min and max num of cores