Better implementation of varintg8iu