refine Range.longerThan() + Range.shorterThan()