WOW! thx for that trick!
Ok.
I did merged the vertices, then I flatten the end of the mesh, and I deleted the faces. I selected all the vertices at the end of the mesh, and then I pressed F. I flatten the new face with S Y 0, and I pressed I for insert etc.. Here is the result. Much better