in the initialization phase avoid putting events on edges for which events are not allowed