auto compute gen dist threshold from the number of reads