Add option to enable/disable the calculation of dams.