More efficient Maximal Clique calculator