I am performing protein ligand simulations in Gromacs. In md simulations how can one fix these dangling movements of residues near protein terminals? I think this will interfere in my RMSD or RMSF plots. is it possible to fix them in trajectory or some preparatory modification is required?