fix bug in phase grain size reduction