Segmenter logic separated.