Some portions of segmentator