Next node is now randomly generated when path = null