adding leb128 reading code