Segmented axis is a strict generalization of the non-segmented-axis original code, which can be thrown away.