validating inclusion of sub_range in SUB_RANGES. Returning range according to Prt sub_range