Based on the analysis of the floor plans, it can be found out that the ellipse were not rotated by a same angle on each floor. So it is difficult to control the form by using a single formula or several formulas.
Detail process is shown below.
Video