log flow conservation