add setCounterLeadingZeros to abstract configuration of leadingZeros