This page contains summary of changes in PR 1195.
It’s basically the same idea as before, just (hopefully) more carefully done.
The basic idea is that:
Note: that may be not the best way though, maybe trying to make bestmove to have the same number of visits (rather than tree total) would be actually better.