optimizations applied