Added halfedgesructure