added max-SNPs flag