refined folding