minDistance support