improving segmenter performance