Algorithm SLIM implemented