A 3D nonuniform TFA homogenization technique