Max in sliding window task
Revert "Max in sliding window task"

This reverts commit 1bd3bd29af6645acbe60d4f085b8cbbb92111274.
Revert "Revert "Max in sliding window task""

This reverts commit ec64afdc3900906f351033b29387fc94c2f03383.