allow user input for N value in likelihood weighting