new FSA algorithm
Re_TreePlotter added from dima