AnImproved Algorithm forNetwork Reliability