better segmentation, to thin boundary to 1 pixel