There was a steam reservoir, all the pipe from the back cylinders to the front, 10-20ft.
There were also a few examples (Mallet) built with steam reheaters between the rear and front engines, in the boiler barrel, right before the actual boiler itself. Needless to say, the experimentation did not appear fruitful.