getCommonSubClass() - Calculate the largest common sub-class of two register