Improved irregularitiesToString for better readability of large sets