anchor.diff:  		     hash_module = HashMod,
   		     hash_state  = HashState2},
       if
  -	NR == 0, ND == 0, NDO == 0 ->
  -	    do_expand_cstruct(Cs2, FH, N, Pool, DefaultNR, DefaultND, DefaultNDO, Mode);
  +	NR == 0, ND == 0, NDO == 0, NExt == 0 ->
  +	    do_expand_cstruct(Cs2, FH, N, Pool, DefaultNR, DefaultND, DefaultNDO, DefaultNExt, Mode);
   	true ->
  -	    do_expand_cstruct(Cs2, FH, N, Pool, NR, ND, NDO, Mode)
  +	    do_expand_cstruct(Cs2, FH, N, Pool, NR, ND, NDO, NExt, Mode)
       end.
   	    
  -do_expand_cstruct(Cs, FH, N, Pool, NR, ND, NDO, Mode) ->
  +do_expand_cstruct(Cs, FH, N, Pool, NR, ND, NDO, NExt, Mode) ->
       Tab = Cs#cstruct.name,
       
       LC = Cs#cstruct.local_content,
  
positive.code: 	activate ->
  	    [BaseCs];
  	create ->
  	    {BaseCs2, _, _} = set_frag_nodes(NR, ND, NDO, BaseCs, Dist, []),
  	    [BaseCs2]
      end.
      
  set_frag_nodes(NR, ND, NDO, Cs, [Head | Tail], Acc) when NR > 0 ->
      Pos = #cstruct.ram_copies,
      {Cs2, Head2} = set_frag_node(Cs, Pos, Head),
      set_frag_nodes(NR - 1, ND, NDO, Cs2, Tail, [Head2 | Acc]); 
  set_frag_nodes(NR, ND, NDO, Cs, [Head | Tail], Acc) when ND > 0 ->
      Pos = #cstruct.disc_copies,
      {Cs2, Head2} = set_frag_node(Cs, Pos, Head),
      set_frag_nodes(NR, ND - 1, NDO, Cs2, Tail, [Head2 | Acc]); 
  set_frag_nodes(NR, ND, NDO, Cs, [Head | Tail], Acc) when NDO > 0 ->
      Pos = #cstruct.disc_only_copies,
      {Cs2, Head2} = set_frag_node(Cs, Pos, Head),
      set_frag_nodes(NR, ND, NDO - 1, Cs2, Tail, [Head2 | Acc]); 
  set_frag_nodes(0, 0, 0, Cs, RestDist, ModDist) ->
      {Cs, ModDist, RestDist};
  set_frag_nodes(_, _, _, Cs, [], _) ->
      mnesia:abort({combine_error,  Cs#cstruct.name, "Too few nodes in node_pool"}).
  
  set_frag_node(Cs, Pos, Head) ->
  
negative.code:     NR = length(Cs#cstruct.ram_copies), 
      ND = length(Cs#cstruct.disc_copies), 
      NDO = length(Cs#cstruct.disc_only_copies),
      NExt = length(Cs#cstruct.external_copies),
      NewCs = Cs#cstruct{name = NewFrag,
  		       frag_properties = [{base_table, Tab}],
  		       ram_copies = [],
  		       disc_copies = [],
  		       disc_only_copies = [],
                         external_copies = []},
      
      {NewCs2, _, _} = set_frag_nodes(NR, ND, NDO, NExt, NewCs, SortedNs, []),
      [NewOp] = mnesia_schema:make_create_table(NewCs2),
  
      SplitOps = split(Tab, FH2, FromIndecies, FragNames, []),
  