Added extension methods for converting the offset maps into range tuples