Rewrote to only use generic get_datum_height function