I know that many people would disagree with me, and you should also bear in mind I’m small and light (5’7" approx. and about 140 - 145 pounds), but…
I have experimented with various cranks and wheel sizes: cranks from 89mm to 170mm, and wheels from 20 - 28 and Coker. I’ve ridden many of these combinations ‘off road’.
Personally, I find 170s are no fun at all.
They are excellent for lowering you down a steep hill without losing control or popping your knees.
They are OK for slogging up a smooth but steep hill.
They are appreciably slower than 150s, and steering is less precise. On obstacles, what you gain in ‘max torque’, you often lose in momentum.
Think of engines and gears. changing the length of the cranks is not simply the same as changing gears, becasue it is actually changing the characteristics of the ‘engine’. Each rider has a best crank length for speed, a best crank length for torque, and a best crank length for general use. If you go far outside this range, you just make your engine less efficient.
Better, then, to tune the engine with the RIGHT length of crank, then adjust the gearing by choosing an appropriate wheel size.
For me (a skinny midget, I’ll grant you, but with a certain puckish charm) I’d far rather ride all day on a 24 with 150s than a 26 with 170s, even though the 2he ratios are broadly the same, and the bigger wheel has more ‘stomp’.
Put it his way: I gave my 170s away to a stranger, I hated them that much. (the 170s, not the stranger.)