Yes, the piping effects the system. Longer piping, elbows etc. increase friction i.e backpressure i.e. head. You can mitigate this with larger pipes, and less elbows (90's).