Modified StringExtension.FormatSize

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>

Set the computed variables as static, per Thomas recommendation. The gain is 2% speed over previous implementation.