edit bader-deuflhard method