added weak edges