Stroke work in PV loops and boxes