Windowed reduction