which is a sequence of the same length as X, where occurrences of the pattern end exactly in the same positions.