code: func minEntriesToReachLevel(level uint8) int {
  	maxEntriesForLevel := level0MaxEntries
  	minRequired := 1
  	for l := uint8(1); l <= level; l++ {
  		minRequired += maxEntriesForLevel
  		maxEntriesForLevel *= 2
  	}
  	return minRequired
  }
docs: // minEntriesToReachLevel returns the minimum number of entries that are
  // required to reach the given address index level.