internal/stack/stack.go
func (s *Stack) Grow(min int) {
	// Automatically grow the stack to some long-enough length
	if min <= s.BufferSize() {
		// we have enough
		return
	}

	s.Resize(calcNewSize(min))
}
func (s *Stack) Grow(min int) {
	// Automatically grow the stack to some long-enough length
	if min <= s.BufferSize() {
		// we have enough
		return
	}

	s.Resize(calcNewSize(min))
}
// Grow automatically grows the underlying buffer so that it can hold at
// least `min` elements