Add argument for max allowed diff percent.