Bug correction in areai averaging, created areaia/p/i