clear. before implementing the optimization on fine lattices