had to build a check for sample size and segsites being greater than 1 and zero repsectively