Move histogram generation to adjust contrast pipeline.  Should eventually have its own pipeline