A critical discussion of calculated modulated structures, Fermi surface nesting and phonon softening in magnetic shape memory alloys Ni
2Mn(Ga, Ge, Al) and Co
2Mn(Ga, Ge)
Contrary to the common attribution of modulated martensitic structures in Heusler alloys to Fermi-surface nesting, first-principles calculations on Ni$_2$Mn(Ga, Ge, Al) and Co$_2$Mn(Ga, Ge) show that the hybridization of optical and acoustic phonon modes is equally important for their stabilization.