fix bug comparing costs in when calculating route vectors