helper for stoachstic aggregation and improve findDominatedAlgos