Height of building calculation