Fix size-calculation
Merge pull request #2 from vonloxley/patch-1

Fix size-calculation