Exponential folding, diagonal
Exponential folding