fasten level generator by changing all doubles to floats