Complex sentence: Many railways were using very light rails and as locomotive weights and speeds increased these were inadequate, so that on main lines the rails in use were made progressively heavier (and stronger).
Split into simpler sentences: Many railways were using very light rails and, as locomotive weights and speeds increased, these became inadequate. Consequently, on main lines, the rails in use were made progressively heavier (and stronger).