add composition measure to segmentor