float f[] = new float[9];
float cf1 = blend(1.f / 9.f, 0.f, str);
float cf2 = blend(1.f / 9.f, -1.f, str);
float cf3 = blend(1.f / 9.f, 5.f, str);
f[0] = cf1; f[1] = cf2; f[2] = cf1;
f[3] = cf2; f[4] = cf3; f[5] = cf2;
f[6] = cf1; f[7] = cf2; f[8] = cf1;
return f;