For swarm traps I usually use deep nucs with medium frames in them. Just because I want to end up on medium frames and I HAVE the deep nucs and I don't want to give up the volume for the trap. A five frame medium box would be a bit small. If you catch a swarm in a deep box with medium frames, you just need to transfer them within a short time to a medium box.