On the effective permittivity of finite inhomogeneous objects