enable optimizations