Some code clean-up in Segment#_changed()