add isRoot bool to NonLeafNode