Better byte count transform