1. Draw a cuboid with 2, 2, 2 line segments.
2. Add the grid smoothing command.
3. Adjust the weight of the midpoint of each corner of the cuboid.
4. Adjust it appropriately.
Method 2:
Use the Fitting Loft command. ? This is what is done in the picture below.