Was varying H constant on each segment split.

Now correctly varying it for each mountain.