cusomized segmentor dll