Change Naive Monte-Carlo to use nodes.