changed autofloat calculation, made default value of autofloat - true