- tried to change histogram calculation in sparkle (was not faster)