Rounding the corners of the solid and void shapes