UCT tree: Move hash allocation from init to alloc