alg 1st phase completed