aggregate daos optimizer