changed the edge interface
using TSPQ for cross edges