Converting HBD to HIVE