okay the boundary for the mesh is now implemented properly, no duplicate vertices will be created