code: func newNode(index int, parent *node, hasher hash.Hash) *node {
  	return &node{
  		parent: parent,
  		isLeft: index%2 == 0,
  		hasher: hasher,
  	}
  }
docs: // newNode constructs a segment hasher node in the BMT (used by newTree)