window of size 1000