~ path generator return of residual vector