clique tree creation