Integrate and calcP