If there is only 1 core, use 1, not 0.5 cores.