faster grouper
improved grouper speed 2 times