feauture to merge segments #1