need to implement near_zone_inds or similar.