Improve body panel height calculation