optimal salary