create txt with edges between remaining segments + change range of segIds from 1 to num of segments