The perfect box is always goong to be subjective.
Some will find it too small and some will find it too large. Some will find it too tight to pop the loco in and out or get their fat fingers into. Some will find it too too loose.
Look at the MM 201 boxes, with the locos often tearing through the protective plastic.
Personally, I find the A/S / IRM packaging a little on the large side, but with the way couriers are dropkicking stuff around, it’s hard to know what’s best.
Heljan 47 arrived in perfect condition and the box is way smaller. Several A Classes arrives with slipping drive shafts and grinding gears, yet the boxes were massive. The way the O Gauge locos are screwed to a plinth inside the box is probably the way to go. Allows for smaller boxes but gives ample protection.