boundary condition shift by one cell