def compute_deltas(query):
    """Returns how large every dimension is
    """
    dims = query.dims
    diff = [None] * dims
    for d in range(dims):
        diff[d] = query.hi[d] - query.lo[d]
    return diff