test bitLen
add getBitLen for int/size_t