On the effect of cell geometry on the amorphization process in phase-change memories