implement a fully implicit version of the upstream velocity estimation.