When newIndex overlaps oldIndex with newstarttime < oldstarttime, according to the segNum of endtime in newIndex and oldIndexLastSegnum to calculate the segmentNumShift.