Text this: Relationship of microcrack pattern and the shear strength of granitic rock