upstream downstream boat stream formula