extract base strategy
calculate shortest route distance