Added sliding window of size 4