Fix memory overflow with custom uct
Apparently, custom UCT nodes don't get garbage collected. This leads to huge RAM usage with big number of iterations. Fix it.
Apparently, custom UCT nodes don't get garbage collected. This leads to huge RAM usage with big number of iterations. Fix it.