Wrote the minimum variance aggregator but did not test it yet.