Repairing gearboxes and making gearboxes for heavy machines and crane gearboxes