Effective dynamic range in measurements with flash analog-to-digital convertor