Updated tests, fixed distance segmentation