We modified the implementation of Virpioja et al. (2013) to remove the previous segments of the word from the parameters before reanalyzing the word, and re-adding the segments of the new optimal segmentation afterwards.