A metthological approach to optimize the practice capacity of railway junctions