Switched to the trapezium rule for the virial