if target is already set, calculate a route when source is first set