seg_adjust function

Modification of segments based on values