optimize make_lr1_closure