Fred: also define a maximum perpendicular distance for determining where to hold a zone