pub fn get_packed_slice_checked<P: PackedField>( packed: &[P], i: usize, ) -> Result<P::Scalar, Error>