fix for a bug in Cloverleaf 3D profile summation