make width of phase transitions an input parameter