sum dx dy