Expand nodes unless *expanded*, not *visited*.