switch sequence in the tree, base layers at the bottom