add grain size reduction at phase transitions