Fixed: clz(0) returns bytes instead of bits