Changed the result of offsetSegment to located rather then a tuple.