GROMOS algorithm checked.