added detect; removed auxiliary buffer_of_tree; tuned;
added detect;
removed auxiliary buffer_of_tree;
tuned;

MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle,MerelyAPseudonym/isabelle