Add VarLong support, fix compression issue.