i dont quite understand what the 3*MAX_SEGMENTS_TO_MOVE MEANS