improved extracting all group's flows'