Rebuild of compound path detection