Toothed wheel optimization by means of the finite element analysis