FIX: Undefined behaviour in private car routing algorithm