Crack path dependence on inhomogeneities of material microstructure