fix build error: change from_bits to from_bits_truncate, avoid Option<> wrapper