Define minimum number of cores

Issue #163