The PM also dedicated a loco factory in Madhepura and laid the foundation of a track-doubling project in Bihar.