Group windows into coherent sets to facilate a task