Marching squares rectangular area

Hello,

How can I create a rectangular area with the marching square extension ? (For a fog of war)

I succeed to create a disk area around my unit but impossible to create a rectangular / square one…

My goal is to create a fog of war around unit on a tiled map.

Thanks,

Regards