Computing height in an alternative way.