WF_NUM_LAYERS
struct wf_layer layer[WF_NUM_LAYERS];
for (l = 0; l < WF_NUM_LAYERS; l++) {
for (i = 0; i < WF_NUM_LAYERS; i++) {