anchor.diff:  
       GroupFun = fun mas_misc_util:group_by/1,
   
  +
       LogFun = fun(Groups) ->
                        log_countstats(Groups, Cf),
                        log_funstats(Groups, Cf),
                        Groups
                end,
   
  +    Split = fun(Groups) ->
  +                    lists:flatmap(
  +                      fun (Group) ->
  +                              split(Group, 20)
  +                      end,
  +                      Groups)
  +            end,
   
  -    TMGL = fun (Agents) ->
  -                   Tagged = lists:map(TagFun,
  -                                      Agents),
  -                   Migrated = lists:map(MigrateFun,
  -                                        Tagged),
  -                   Grouped = GroupFun(Migrated),
  -                   LogFun(Grouped)
  -           end,
  +
  +
  +
  +
  +    TMGLS = fun (Agents) ->
  +                    Tagged = lists:map(TagFun,
  +                                       Agents),
  +                    Migrated = lists:map(MigrateFun,
  +                                         Tagged),
  +                    Grouped = GroupFun(Migrated),
  +                    LogFun(Grouped),
  +                    Split(Grouped)
  +            end,
   
   
       Work = {seq, fun({{Home, Behaviour}, Agents}) ->
  
positive.code:         true ->
              ok
      end.
  
negative.code:                             mas_misc_util:shuffle(lists:flatten(Agents))
                      end},
  
      Workflow = {pipe, [{seq, TMGLS},
                         {map, [Work], Workers, pull},
                         Shuffle]},
  
  