working on collapsing edge of mesh correctly