translator optimizations