nb_elems => n_elements