Reordered optimizations