simplify rmsd