Still debugging...
Still debugging this very buggy algorithm...