path reconstruction