ZTTL modifications plus sbinPresel in drawHistogram