added complete chetto and fixed a bit the search tree