change kernel without "if"

delete "if". Now have short array with offset count of atoms.
On system with 500 atoms time execution: 2440.9 ms.