The local microscale problem in the multiscale modeling of strongly heterogeneous media: Effects of boundary conditions and cell size