pub fn set_packed_slice<P: PackedField>(
    packed: &mut [P],
    i: usize,
    scalar: P::Scalar
)