folding edges inwards