set refinement cycles