def init_global_params(run_settings):
    """
    initialize global parameters
    :run_settings: run settings dict, must contain
        - dims
        - max_iterations
        - num_centroids
        - threshold
    :returns: GlobalParams list
    """
    global_params = []
    global_params.append(run_settings['num_points'])
    global_params.append(run_settings['dims'])
    global_params.append(run_settings['num_centroids'])
    global_params.append(run_settings['max_iterations'])
    global_params.append(run_settings['threshold'])
    return global_params