if (0 < index) { totalSum = cumulativeSums[index] + sum; if (value >= totalSum) { if (value == totalSum) { ++matchCount; } indices[0] = lastIndex; ++undershotsCount; undershotSkips += (1 << index + 1) - 2; index = 0; continue; } }