new beta assignment algo for grouping assignments of ambiguous assignments