Improve max/min value