def bounding_box(*boxes):
    """Compute a bounding box around other boxes."""
    x0, y0, x1, y1 = boxes[0]

    for bx0, by0, bx1, by1 in boxes[1:]:
        x0 = min(x0, bx0)
        y0 = min(y0, by0)
        x1 = max(x1, bx1)
        y1 = max(y1, by1)

    return x0, y0, x1, y1