Added n_atoms to slice