add potential and system for lj with restricted number of neighbors