Changed the type of the range arguments from long to ulong and removed the exception logic and its tests