Added segmentation library