make sure to not process sequences shorter than window size