Automatic zone detection.