Size optimizations.

Shortened variable names and optimized code.  The code is now a bit
harder to read, but 20% smaller.