fixed local segmentation methods