eliminated some differences in the segmentation step