Minor optimization.
Better comments.
Doesn't need padding anymore. Incompatible with previous version.