Further improvement. Put PI in front of the sum