I modified the split_ring(). It only keep one of produced two halves of ring.