Avoid redetermining paths; use already stored values.