merged time window and aggregator states into one