use hash map when finding HGC neighbours instead of tree based map