Add maximum height option.
Fixes #8