Convert ext/bcmath to HNI