Make the CliqueGenerator faster