calculateMaximumCommonType