code: func NewBoundedMemoryChain(maxNodes uint32) *BoundedMemoryChain {
  	return &BoundedMemoryChain{
  		headPtr: -1,
  		tailPtr: -1,
  		maxSize: int32(maxNodes),
  		chain:   make([]Node, maxNodes),
  	}
  }
docs: // NewBoundedMemoryChain returns a new instance of the BoundedMemoryChain with
  // a target max number of nodes.