Added a special case to RangeLookupTable to improve the performance if only one Range is used.