improving varint unsigned handling