anchor.diff:          false ->
               error(badarg);
           true ->
  -            PaddingLen = paddinglen(PieceIndex + 1),
  -            <<Low:PieceIndex, _:1, Padding:PaddingLen, High/binary>> = Elements,
  -            Updated = <<Low:PieceIndex, 0:1, Padding:PaddingLen, High/binary>>,
  +            <<Low:PieceIndex/bitstring, _:1, High/bitstring>> = Elements,
  +            Updated = <<Low/bitstring, 0:1, High/bitstring>>,
               Pieceset#pieceset{elements=Updated}
       end.
   
  
positive.code:         false ->
              error(badarg);
          true ->
              PaddingLen = paddinglen(Size0),
              <<E0:Size0, 0:PaddingLen>> = Elements0,
              <<E1:Size0, 0:PaddingLen>> = Elements1,
              Unique = (E0 bxor E1) band E0,
              Difference = <<Unique:Size0, 0:PaddingLen>>,
              #pieceset{size=Size0, elements=Difference}
      end.
  
  
negative.code:         false ->
              error(badarg);
          true ->
              <<_:PieceIndex/bitstring, Status:1, _/bitstring>> = Elements,
              Status > 0
      end.
  
  