fixing a bug in non-unique heatmap cut points