Better farm dams offer flow-on benefits