First version of circular arc segmentation