enable optimization