<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _set_optimal_area(self, data):
 """ Reduce the zone to reduce the size of fetched data on refresh """

        lats = [station["latitude"] for station in data.values()]
        longs = [station["longitude"] for station in data.values()]
        self.gps.update(
            {
                "gpsTopLatitude": max(lats),
                "gpsTopLongitude": max(longs),
                "gpsBotLatitude": min(lats),
                "gpsBotLongitude": min(longs),
            }
        )