code: func NewGenerator(sections uint) (*Generator, error) {
  	if sections%8 != 0 {
  		return nil, errors.New("section count not multiple of 8")
  	}
  	b := &Generator{sections: sections}
  	for i := 0; i < types.BloomBitLength; i++ {
  		b.blooms[i] = make([]byte, sections/8)
  	}
  	return b, nil
  }
docs: // NewGenerator creates a rotated bloom generator that can iteratively fill a
  // batched bloom filter's bits.