now properly acquiring 2**21 (24bit) samples. added 1 additional bit to compare >= treshold.