Shortest path handeled. main font chnag[Ded