Use a LUT for number of exponent groups. This avoids recalculating it for