separate double double summation from the rest.