Fix bug in setting initial edge criticality.