def METHOD_NAME(arrays):
    """
    Copied from NumPy 1.14.1.
    """
    bottom_index, arr_ndim = _block_check_depths_match(arrays)
    list_ndim = len(bottom_index)
    return _block(arrays, list_ndim, max(arr_ndim, list_ndim))