regulate the production in the aggregator

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
improve iterator usability

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>