Added boundary condition.