Use only to_height in core extensions
Refactor tests
Make units_precision configurable