def _embed(tree_list, max_len):
    """Embeds a tree list with margins at the end of the strings"""
    # Alignment to a single length (embedding with spaces)
    new_tree_list = tree_list
    for idx, row in enumerate(tree_list):
        new_tree_list[idx] = row + " " * (max_len - len(row))
    return new_tree_list