How a dam changes a river.