Evidence for strong variation of the moment of inertia at higher angular momenta in the ground state rotational bands of 158Er and 166Yb