fix arity of exported generate_teeth function