WIP
Block folding