The max size field is nr 9, not 10 ;)

Probably a typo or so, but here's a fix!