add hashmapmetrics.patch