mali: max group number 12 -> 9