func (s *Stack) Extend(extendBy int) {
	s.Resize(s.Size() + extendBy)
}
func (s *Stack) Extend(extendBy int) {
	s.Resize(s.Size() + extendBy)
}
// Extend changes the size of the underlying buffer, extending it by `extendBy`