Hh demand shocks, numerical integration