This is a systematic project. The change of any factor in the whole machining process will cause the change of tooth profile after heating. In addition to the suggestions put forward on the second floor, it is best to increase the stress relieving process before finishing, and try to reduce the quenching temperature on the premise of ensuring the hardness of the core. If possible, post-heating grinding can be used to ensure the tooth profile.
Spline holes can be quenched by mandrel, or the process of pushing spline holes can be added after heating.