Use byte positions instead of character positions