diff --git a/include/opendht/indexation/pht.h b/include/opendht/indexation/pht.h
index caaa7e5b505538e7716afc8ff43b1ff3b185021a..85d79b4bfdce6c7aaef6463bee4084d36b9797dc 100644
--- a/include/opendht/indexation/pht.h
+++ b/include/opendht/indexation/pht.h
@@ -261,10 +261,8 @@ private:
         Prefix p = Blob {k.begin()->second.begin(), k.begin()->second.end()};
 
         auto bit_loc = p.size_ + 1;
-        for ( auto i = p.content_.size(); i <= keySpec_.begin()->second; i++ ) {
+        for ( auto i = p.content_.size(); i <= keySpec_.begin()->second; i++ )
             p.content_.push_back(0);
-            p.size_ += 8;
-        }
 
         return p.swapBit(bit_loc);
     };