def compute_start_end(dataset_str, thread):
    """
    calculate start and end points for multi_threading
    """
    individuals_number = dataset_str.shape[0]
    number_each_thread = int(individuals_number/thread)
    start = [number_each_thread * i for i in range(thread)]
    end = start[1:]
    end.append(individuals_number)
    return start, end