Improved CompareLong