How to remove extra bone influences

Hi,

I understand that a skinned mesh can have up to 8 bone influences per vertex. Is there an easy way to test using only the 4 most important influences per vertex in order to compare performances and quality?

It seems that the bExtraBoneInfluences flag is only set on import…

Thanks in advance!