I think this would be a little clearer as `contiguousCount <= 1`, to make it clear that it's basically the opposite of the previous `if` (i.e., it would have been an `else` except for the fact that the previous `if` might have set `contiguousCount` to 0).