Create maxDifference