Fragment ground height calculation

Split computeGroundHeight in several functions, to
centralize some code and ease readability