The delta functions contain factors of 2, so that they cancel out the 2 factors in the measure for integrals.
The delta functions contain factors of 2, so that they cancel out the 2 factors .in the measure for integrals