3ds max segments lenghts floating to interger values?


I want a 3d model to reconstruct or recreate segments lengths values floating to interger values, after recreate it doesnt matter if it change its early shape.

the answer may be a script, or something,
it doesnt matter what the software is(maya, max, blender or unity)
I realy appreciate if somebody can give any idia