fix long line parsing

Was: comparing unsigned for negative values; substracting 0 from 'size'
variable; crash on long line in parsed file.

Becomes: reduce unsigned variable 'size' properly, handle long lines.