Fixed clique counting but added allocation. Is slow.