better addmul_nested_dict