added dhash to proj4_main