Influence of boundary conditions on square bond percolation nearp c