modification main et algo two_approx_first_depth