code: func (helper *RangeQueryResultsHelper) AddResult(kvRead *kvrwset.KVRead) error {
  	logger.Debug("Adding a result")
  	helper.pendingResults = append(helper.pendingResults, kvRead)
  	if helper.hashingEnabled && uint32(len(helper.pendingResults)) > helper.maxDegree {
  		logger.Debug("Processing the accumulated results")
  		if err := helper.processPendingResults(); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // AddResult adds a new query result for processing.
  // Put the result into the list of pending results. If the number of pending results exceeds `maxDegree`,
  // consume the results for incrementally update the merkle tree