sliding window aborts if iterator is too short

Current behavior results in an iterator that contains a tuple of size shorter than `n`.  I'm not sure what expected behavior is in this situation.

This commit allows the assertion that all elements coming out of `sliding_window` have length `n`.