Limitations of Floyd-Warshall Algorithm