fixed half-edge and event lists infinite loops.