modify default sliding window size to 1