equals criterium of folding