make kthbest pruning optional
set booleans