code: def reset(self, dim):
          
          self.dim = dim
          # Reset all child hashes
          for child_hash in self.child_hashes:
              child_hash['hash'].reset(dim)
              child_hash['bucket_keys'] = {}
docs: Resets / Initializes the hash for the specified dimension.