Trying to scale/offset vertices using vertex color

Hi

I have a box made of boxes with their center position encoded in vertex color.
Please see screenshot boxofboxes.

287520-boxofboxes.png

Now I am trying to scale each box at its center, which I have done in a different game engine.
What is confusing me right now is the requirement of WorldPositionOffset.
In second screenshot is my material with an attempt at scaling it and the offseting. But it doesn’t seem to work.

Is there something obvious I am missing here?

Thanks

Found the issue.
Basically, the vertex color needed to be multiplied by 100 due to unit differences between exported fbx data and unreal.

Result.

287527-boxofboxes-scaled.png