Create swapCores