Mark intermediate nodes as pairtree elements