Discover the motifs in a time series