mem segmentation