Initial cut at converting ByteVector to Long indexes.
Minimal logic changes, would not actually work properly for vectors > Integer.MAX_VALUE in length