turn on optimize.