Made the string generator faster and a bit more random for the ranges

(faster due to not recreating a string builder constantly)