changed maxCliques to 2000