add_corners_and_smoothen# add_corners_and_smoothen(zz: ZigZag)# add corners to the zig-zag line, so it starts and ends in a rectangle (the bounding box)