Refactor: Localize variables
Refactor: Correct spelling
Refactor: Localize variable
Refactor: Allocating CACHEMAX cache size always succeeds
Refactor: Remove clutter
Refactor: Remove unnecessary parenthesis