Fence from a grid