Optimal discretization of grounding systems applying Maxwell's subareas method