require dist > minDist, set to 10 (square would be 20x20)