Answer myself.
This cannot be done in the data operator, even though its the obvious place for it.
But it can be done in a script operator after the data operator
using this script
Pflow really needs updating!!!
on ChannelsUsed pCont do
(
--pCont.useTime = true
--pCont.useSpeed = true
pCont.useScale = true
)
on Init pCont do
(
)
on Proceed pCont do
(
count = pCont.NumParticles()
for i in 1 to count do
(
pCont.particleIndex = i
myz = pCont.particleScaleXYZ[3]
pCont.particleScaleXYZ = pCont.particleScaleXYZ * [1,1,ceil(pow 2 ((log10 (myz))/(log10 2)))/40 ]
--[1,1,ceil(pow 2 ((log10 (10-1))/(log10 2))) ]
)
)
on Release pCont do
(
)