Want it really accurate? Put a reed switch on stepper shaft, in series with the home switch. This will get it much closer.
Switch is only enabled once stepper is at a correct rotational position.
Some variation can still occur with microstepping, but it will sure be better. This depends where driver was when powered up, I think.
Once referenced, turn it all off, and do it again. Might get a more consistent position that way. My SX3 with optical switches is within 0.002" (and no switch on shaft either)
Nice precise signals from opto to BOB are needed to achieve this. With an old LPT port on another computer its was quite poor.
A very low approach speed makes it quite good.
It takes forever to get there, so I have rough marks near the limits, and rapid almost to the marks first.
Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.