In imposing this penalty, the court shall consider factors such as the severity of the crime, the prior criminal record, the expenses of the victim of the crime, and the ability of the defendant to pay, as well as the economic impact of the victim compensation assessment on the dependents of the defendant.