Fix scalability problem (update h0_rejected was too slow).  All tests pass.