Lazy and fast version of createFences. P.S. FOR DETAILS SEE SOURCE
input surface
fence width
fence height
Biderectional range of pixels range[width * height]
See Implementation
Lazy and fast version of createFences. P.S. FOR DETAILS SEE SOURCE