Segment comparation ad sequence-against-window  matching