Segmentation RSA and tested