An improvement of the response surface method