Added a function to get the complete set to Sets. Replaced the comparison using Sets_equals(complete/emptySet) by a simple test on the cardinality of elements, way faster and way simpler.