For the distance tolerance it is possible, from version 3.6, to apply a modifier to calculate:
The meaning of the modifier may vary according the type of features, here some example: