Edge collapse, some debug still needed