Small Space, Maximum Function