remove assertions from rmsd method