if you change from L1(5 year max) to H1(6 years max), you can stay in
the US up to 6 years including L1 and H1 period. Following the same rule,
L1B -> L1A allows you to stay up to 7 years which is ruled by L1A.
If you need to stay more than 7 years, you need to get E visa.