Numerical study of effective permittivity in composite systems