Optimization after profiling