Platinium Rift : Changing dictionnary to array to improve djikstra implementation