customized segmentor dll