Make minimal difference configurable in the future