(b) If the conviction is a subsequent controlled substance conviction, a person convicted under subdivisions 1 to 2a, paragraph (a), shall be committed to the commissioner of corrections for not less than four years nor more than 40 years and, in addition, may be sentenced to payment of a fine of not more than $1,000,000. (a) A person convicted under subdivisions 1 to 2a, paragraph (a), may be sentenced to imprisonment for not more than 30 years or to payment of a fine of not more than $1,000,000, or both. (b) For the purposes of this subdivision, the weight of fluid used in a water pipe may not be considered in measuring the weight of a mixture except in cases where the mixture contains four or more fluid ounces of fluid. (6) the person unlawfully possesses one or more mixtures of a total weight of 50 kilograms or more containing marijuana or Tetrahydrocannabinols, or possesses 500 or more marijuana plants. (5) the person unlawfully possesses one or more mixtures of a total weight of 500 grams or more containing amphetamine, phencyclidine, or hallucinogen or, if the controlled substance is packaged in dosage units, equaling 500 or more dosage units or
(4) the person unlawfully possesses one or more mixtures of a total weight of 500 grams or more containing a narcotic drug other than cocaine, heroin, or methamphetamine (3) the person unlawfully possesses one or more mixtures of a total weight of 25 grams or more containing heroin (2) the person unlawfully possesses one or more mixtures of a total weight of 25 grams or more containing cocaine or methamphetamine and: (1) the person unlawfully possesses one or more mixtures of a total weight of 50 grams or more containing cocaine or methamphetamine (a) A person is guilty of a controlled substance crime in the first degree if: (6) on one or more occasions within a 90-day period the person unlawfully sells one or more mixtures of a total weight of 25 kilograms or more containing marijuana or Tetrahydrocannabinols. (5) on one or more occasions within a 90-day period the person unlawfully sells one or more mixtures of a total weight of 50 grams or more containing amphetamine, phencyclidine, or hallucinogen or, if the controlled substance is packaged in dosage units, equaling 200 or more dosage units or (4) on one or more occasions within a 90-day period the person unlawfully sells one or more mixtures of a total weight of 50 grams or more containing a narcotic drug other than cocaine, heroin, or methamphetamine (3) on one or more occasions within a 90-day period the person unlawfully sells one or more mixtures of a total weight of ten grams or more containing heroin (ii) the offense involves two aggravating factors (i) the person or an accomplice possesses on their person or within immediate reach, or uses, whether by brandishing, displaying, threatening with, or otherwise employing, a firearm or (2) on one or more occasions within a 90-day period the person unlawfully sells one or more mixtures of a total weight of ten grams or more containing cocaine or methamphetamine and: (1) on one or more occasions within a 90-day period the person unlawfully sells one or more mixtures of a total weight of 17 grams or more containing cocaine or methamphetamine A person is guilty of controlled substance crime in the first degree if: