Calculate windowed summaries.