fix extrapolation for hsmdivv and hsmcurlv