Fix bug (inaccuracy using float) and make the program faster