Folding and square boxes