Microstructural effects on shear instability and shear band spacing