Remove constants that are not needed anymore.
Several instructions were unfolded and some were removed. Slightly optimized use of registers.