1. A method comprising: patterning a semiconductor element having a closed contour configuration; measuring the contour of the patterned semiconductor element to obtain a curve; determining low frequency components of edges of the curve and curve orientation; and reconstructing shape and orientation of the contour in accordance with the determined low frequency components.