pre-production optimizations