added resverse translation to put the segmentation in the reight position