shall, in addition to the term of imprisonment prescribed by statute for the crime, be punished by imprisonment in the state prison, except as otherwise provided in this subsection, for a minimum term of not less than 1 year and a maximum term of not more than 5 years. If the crime committed by the person is punishable as a category A felony or category B felony, in addition to the term of imprisonment prescribed by statute for that crime, the person shall be punished by imprisonment in the state prison for a minimum term of not less than 1 year and a maximum term of not more than 20 years.
The court shall state on the record that it has considered the information described in paragraphs (a) to (e), inclusive, in determining the length of the additional penalty imposed.
NRS 193.166