Preparation for darknesshistogramchecker