Try converting range to vector.