modified lammps hacking code