anchor.diff:      NewChildrenPos2 = if
       % Input tree can be inserted as-is into the target tree
       HeightDiff == 0 ->
  +        {OmtTree, _OmtHeight} = omt_load(New, ?MAX_FILLED),
  +        %?debugVal(OmtHeight),
  +        ?debugVal(OmtTree),
  +
           NewChildren = seedtree_write_insert(Fd, Orig, OmtTree),
           MbrAndPos = seedtree_write_finish(NewChildren);
  +    % insert tree is too small => expand seedtree
       HeightDiff > 0 ->
  +        % Create new seedtree
  +        %SeedTree = seedtree_init(Fd,        
  +        %{ok, Parent} = couch_file:pread_term(Fd, RootPos),
  +        ?debugVal(Acc),
           ok = foo;
       % insert tree is too high => use its children
       HeightDiff < 0 ->
  +        {OmtTree, _OmtHeight} = omt_load(New, ?MAX_FILLED),
  +        %?debugVal(OmtHeight),
  +        ?debugVal(OmtTree),
  +
           % flatten the OMT tree until it has the expected height to be
           % inserted into the target tree (one subtree at a time).
           OmtTrees = lists:foldl(fun(_I, Acc) ->
  
positive.code:         {{4,43,980,960},{node,inner},[
              {{4,43,865,787},{node,inner},{seedtree_leaf,[6688,7127,7348],
                  [{{66,132,252,718},{node,leaf},
                      {<<"Node718132">>,<<"Value718132">>}}]}},
              {{220,45,980,960},{node,inner},{seedtree_leaf,[6286,3391],[]}}]},
          {{27,163,597,986},{node,inner},[
              {{37,163,597,911},{node,inner},{seedtree_leaf,[3732,5606],[]}},
              {{27,984,226,986},{node,inner},{seedtree_leaf,[5039],[]}}]}]},
          SeedTree2Tree),
      NodeNotInTree3 = {{2,3,4,5}, NodeMeta, {<<"notintree">>, datafoo}},
      SeedTree3 = seedtree_insert(SeedTree, NodeNotInTree3),
  
negative.code:         {NewMbrs, NewPos} = lists:unzip(MbrAndPos2),
          ?debugVal({NewMbrs, NewPos}),
  
          % NOTE vmx: seedtree_write_finish/1 might still go crazy with
          %     huge node overflows
          MbrAndPos = seedtree_write_finish(lists:zip(NewMbrs, NewPos))
      end,
      % XXX vmx: Check NewChildrenPos2 for length. It might overflow the node
  