Fixed evaluating function.

Less weight to leaves representing not ended games.