Replacing stepper motors with a pitch of 1.8* with motors with a pitch of 0.9* Creality k1 max

On my Creality K1 Max, the stepper motors (BJ42D29-30V09 with a 1.8° step) on the X and Y axes have failed.

I couldn’t find identical motors for replacement, so I had to install different ones (LDO-42STH60-2004MAC(S55) with a 0.9° step).

Because the motor specifications differ, I can’t properly calibrate the printer with the new motors. The carriage often and violently crashes into the frame during auto-homing (G28), causing it to shift or reducing the printable area.

I’ve tried adjusting the config file (print.cfg), but it hasn’t helped much.

Can anyone suggest how to choose the correct parameters for the printer to work properly with these new motors?