The MS400 is a 50mm bore, the 362 is 47mm.
A 3mm larger piston made from aluminum would have required a different crankshaft with heavier counterweights I suppose.
By making the piston from magnesium, they were able to use the same crankshaft.
That's how they built a 67cc saw that is lighter than many 50cc units.
Genius.