POC: sliding window