Impact of dams on river volume