starting segmentation