Small performance improvement, remove standard function for power set and replace with own