Fixed StringExtension.FormatSize

Fixed FormatSize to use simple dims as it originally did. Improved where calculations are made to speed up the method.

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>