Stage a number of optimizations