sliding window
configurations, algorithm details