Float comparision improvement