is `return 1` correct also when `n_unique_nodes == 3 && min_elem_dim == 3` or  `n_unique_nodes == 1` ?