Try barbell hack squats (behind the back deadlifts) and /or various lunges, step-ups and split squats.
Many options exist outside of barbell squats that would be better choices than smith machine squats.