1 Exhibit 10.51 AMENDED AND RESTATED STOCK PURCHASE AGREEMENT Dated as of March 31, 1999, by and among Waste Connections, Inc., Management Environmental National, Inc., RH Financial Corporation