lengthwise (adv.)
"in the direction of the length," 1570s, from length + wise (n.). As an adjective by 1871.