Constify some values
Reduce memory footprint of offsets from 64-bit to 16-bit per offset