[FEATURE] added maxPanel parameter to pairsDifference