improvment on Floats.range