pub const LUT_SIZE: usize = 1025;
Entries in each lookup table: 1024 buckets plus one sentinel.
The sentinel is what lets the lerp read lut[i + 1] without a bounds check on the last bucket.
lut[i + 1]