def get_max_table_size(final_tables):
    """
    Compute the maximum number of elements that appear in one of the table generated inside the main process.

    Parameters
    ----------
        final_tables : list
            list of the tables generated inside the loop for each bucket.

    Returns:
    --------
        max_table_size : int
            the number of elements inside the largest table (i.e., number of row multiplied by the number of columns).
    """

    # Variable initialization
    max_table_size = 0
    for table in final_tables:
        max_table_size = max(max_table_size,len(table[0])*len(table))
    return max_table_size