optimizations compile