Formation of shear band in a granular material during triaxial compression test