gspm_pace_listener hashfunction and hastable for dh entries. 
refactoring code style and comments