Take compressed offset into account in inputSize calc
Merge pull request #2 from thefactory/fix-offset-harder

Take compressed offset into account in inputSize calc