lengthwise (adv.)
1570s, from length + wise (n.). As an adjective by 1871.