proximity supports custom threshold