Swarming to me is a combination of hive population, room in the hive and food supply at the time.
We run 8fr full depth and with a single brood box, QX and super. In Spring when bees are on Canola we may remove 3 fr of brood plus, a 2fr shake of field bees from the super into a 5 fr nuc. If the super has plenty of honey then add another one under the honey.
It is not fool proof but you have to provide a lot of room to reduce swarming.
Also timing, it is nice to get this done before the bees start forming queen cells to swarm of. Once the are forming cells it is harder to change their mind.