fixing resetting metric values between pyramid steps