Work on binning parameter.
Pre-process subgroups and skip vars with less than 2 levels in the sample.
In subgroups, check p-value from regression directly if it is a binary indicator; skip contrast code.