Windowed reduce