Remove of float - 3...
The cost in GetBestLength is hard to be used as long. Only long long is ok
but long long is no better than float/double.