Obtaining a subrange