Numerical optimization of alignment reproducibility for customizable surgical guides