Welding main rails and cross members