cleaning up cc_segmentation example