If the shortest distance between A to B is 100 kms. Now, if you intend not to use the shortest distance route but via another station C, you would need to make sure that (A+C) + (C+B) should not be more than 115 kms. (More than 15% of the shortest distance)