Modelling the structural changes in vegetation under different grazing regimes