Made the float test not overflow