pub const MAX_ELEMENTS_PER_CURVE: usize = 1000;
The most elements a curved segment may take, far past where the result stops changing.