Factor bytewidth determination in its own function