Rail length for inner rail, joints

Hello,

I try to set up tipical rail lengths for the inner rail, to finde the real place of the joints on inner rail, but i can't find the way.

The Outer rail (S49) is 25.000m long and the inner must be some of this types of lengths:24.945;24.890;24.835;24.780. Difference in the rails is 55mm. Is there a way the program automaticly to  chose some of this tipes in spiral and in curve, depending on minimum distance from the perfect matching joint?

Using Power rail track V8i, on microStation.

Thank you!