As long as the length of thread going into the hub, is greater than the width of the thread itself
ie, if the width of the thread is 12mm, then it should penetrate the hub by no less that 12mm this will be your minimum length... careful measuring may be required
Also make sure that the newly cut bolts are nicely de burred so they cant damage the hub in any way
Thom