Is this NIM game tree correct?
There are many kinds of NIM. The one in the picture is a rather classic example. Take either one or two tokens, the one who takes the last token looses. 

Does not sound like the version you suggest. Your game does not state what happens with the divided heaps?