(Click on the image for instructions.)
This model is a string of a very simple tessellation molecule. The starting rectangle's dimension for the height of the fence can be any reasonable number. The number of segments that you crease the rectangle in the other direction must be a multiple of 6, that is (# of planks X 6). Once completed, you can add bends to the model between the planks.