use newer varint codec