finish making MAX_SEGMENTS_TO_MOVE a config item