  We present a special case of the Stephani solution with spherical symmetry
while considering different values of spatial curvature. We investigate the
dynamics of the universe evolution in our model, build the R--T-regions for the
resulting spacetime and analyze the behavior of the deceleration parameter. The
singularities of the model are also discussed. The geometry of the spatial part
of the obtained solution is explored.
