The evolution of morphology and fabric of a sand during shearing