adding in support for offset indices
0.4.0