resize_hash() tests ok; now do self-resizing