support cases where a reader have more unique terms than documents; eliminate code doubling