update byte conversion, output should match py version