you can use periodic boundary conditions in the x,y directions, in this way you can have a very small cell in these directions and significantly speed up the calculation. However, you need to include k-point sampling then in x, y, since even if you potential is periodic the wave functions are not, they are Bloch waves, check Blochs theorem.