code: func maxEntriesForLevel(level uint8) int {
  	numEntries := level0MaxEntries
  	for l := level; l > 0; l-- {
  		numEntries *= 2
  	}
  	return numEntries
  }
docs: // maxEntriesForLevel returns the maximum number of entries allowed for the
  // given address index level.