8. For the purpose of calculating the cost of the services they provide that is eligible for compensation, the municipalities are divided into 6 groups:(1) municipalities serving fewer than 3,000 inhabitants, situated less than 100 km from the cities of Montréal or Québec;
(2) municipalities serving 3,000 to 25,000 inhabitants, situated less than 100 km from the cities of Montréal or Québec;
(3) municipalities serving more than 25,000 inhabitants, situated less than 100 km from the cities of Montréal or Québec, including those 2 cities;
(4) municipalities serving fewer than 3,000 inhabitants, situated 100 km or more from the cities of Montréal or Québec;
(5) municipalities serving 3,000 to 25,000 inhabitants, situated 100 km or more from the cities of Montréal or Québec; and
(6) municipalities serving more than 25,000 inhabitants, situated 100 km or more from the cities of Montréal or Québec.