ext: increase io->num only when needed