def dict_mins(dict1):
    """
    Determines the minima of all coordinates. returns the minima for the 3
    axes separately. Returns a tuple with min x, y and z
    """
    x_dim = []
    y_dim = []
    z_dim = []
    for (i, j, k) in dict1.keys():
        y_dim.append(j)
        x_dim.append(i)
        z_dim.append(k)
    # add 1 to actually get the size of the model.
    return tuple([min(x_dim), min(y_dim), min(z_dim)])