Controlling hydrogen cracking in shipbuilding