A new approach to find the stress distribution for an arbitrary shape of inhomogeneity