Former Montana lawmaker gets 18 years for drug trafficking