Re-jigged the energy sharing 2D routine.