setup halfedge mesh now uses one single code