integrated papi (for smooothed LJ calculation)