I guess this should be `offsets[:-1]` to be correct (even though `zip` will auto-truncate for us).