enabled several compiler optimizations