Fixing MaxSize issue

needs a proper test that doesn't multiply by zero to test this feature
Merge pull request #10 from JonathanTech/patch-1

Fixing MaxSize issue