Fix compressed length calculation with non-zero offsets
Merge branch 'fix-compress-length' into thefactory