How to set a matching tolerance

TODO