def _get_arr_same_size_object(same_arr_size_list, size):
    """
    This function, for a given list of ArraysSameSize objects, returns
    the object that represents arrays of the size passed as argument
    """
    for elem in same_arr_size_list:
        if elem.size == size:
            return elem
    return None
