new HalfEdge scheme working