The Gas Electron Multiplier (GEM) was first introduced by Fabio Sauli in 1997, which is a thin layer of an insulating polymer, coated on both sides with copper and chemically perforated with a high density of microscopic holes. The GEM detectors, which are built using GEM foils, have been utilized for various applications due to their excellent spatial resolution, high rate capabilities and flexibility in design. Large area of triple GEM detectors are planned in experiments as it is the case in the upgrade of the CMS forward muon system. During the assembly of these detectors, the GEM foils are manually stretched to maintain the required gap configuration throughout the detector area. This stretching procedure can introduce local variation in the size or the shape of the perforated holes in GEM foil which can further vary the operational characteristics of the foil as well as the detector. Therefore, the distribution and size of the holes over a GEM foil should be uniform to achieve homogeneous functionality of the detector over the active surface. We can prevent the deformation of the perforated holes by optimizing the stretching force which is used during the assembly.