Segmentation tested utils