@classmethod
def lat_lng_to_precise_location(cls, latitude, longitude, precision):
    """
        Get location with computed octant and levels.

        Given latitude / longitude and a precision (in a number of bits), return
        a location with computed octant and levels

        Parameters
        ----------
        latitude : float
            Latitude
        longitude : float
            Longitude
        precision : int

        Returns
        -------
        Location
            location with the computed octant and levels
        """
    location = cls(latitude=latitude, longitude=longitude)
    for current_precision in range(3, precision, 2):
        location.compute_level()
    return location
