Many metals have several different crystal structures at the same composition, but most metals do not show this shape-memory effect. The special property that allows shape-memory alloys to revert to their original shape after heating is that their crystal transformation is fully reversible. In most crystal transformations, the atoms in the structure will travel through the metal by diffusion, changing the composition locally, even though the metal as a whole is made of the same atoms. A reversible transformation does not involve this diffusion of atoms, instead all the atoms shift at the same time to form a new structure, much in the way a parallelogram can be made out of a square by pushing on two opposing sides. At different temperatures, different structures are preferred and when the structure is cooled through the transition temperature, the martensitic structure forms from the austenitic phase.