The energy is an integral of the product of nuclear and electron densities divided by distances between points in nuclear and electron distributions. The distribution of inverse distances can be difficult to integrate if the nucleus has a complicated shape.