Function GetUintRangesWithOptions