g d * n2