Indeed version 2 algorithm complete