Multiset<IntSequence> expectedSet = null;
if (leftInterval == null) {
System.err.printf("left context not found: %s\n", left);
fail("left context not found");
} else {
Interval rightInterval = lst.search(right);
if (rightInterval == null) {
System.err.printf("right context not found: %s\n", right);
fail("right context not found");
} else {
NavigableSet<Integer> leftIndices = intervalIndices(leftInterval);
int[] suffixTable = lst.getSuffixTable();
expectedSet = new HashMultiset<IntSequence>();
for (int i = rightInterval.left(); i <= rightInterval.right(); i++) {
int end = suffixTable[i];
Integer start = leftIndices.floor(end);
if (start != null && end - start < WINDOW_SIZE) {
IntSequence fillerSeq = lst.getSequence().subSequence(start, end);
boolean hasSpecial = false;