Inhomogeneous strains in small particles