Partition into notes, parents, children