use bytesize instead of size anywhere in strscan for correct work with multibyte strings