tested on lily and rose. The respawn may need delays if the process
is stopped
Histograms return min, max and average. No need to create id list.
Instead we need a colormap and use  searchsorted(midpoints, v, side=left)
to determine the color from the map -- kind of trivial.