small fix: FLT_MIN->-FLT_MAX