Work on height generation (not finished)