mainly on the edge cost formulation