Use Longs for all the offset stuff