At the junctions of train tracks, the gap in the frog or switch rail is wide. So trams can be accommodated. The main problem with a train on tram rails is the relatively narrow width of frog and switch gaps and channels of the groove rails designed to accommodate the narrow flanges of tram wheels .