we now know which segment begins at which lengths. yay!