Optimized generation of neighbor list and computation of forces in
thread_atom_nl kernel