Optimization in the geofencing system.