Create numCages to avoid abuse of curID