29*w*h*(1+(g-1)*0.2)/g