Optimizations speedup