Fix : ressources and distance for ranks are correctly calculated