If you are building track. Coal and iron have to be able to get to the building site. Hence if you are talking about track building there should not be a before and after situation you are describing.
Unless you are talking about the ships. That a different story.
It can be to either end of the track though.