Move poorly-named NWORDS function near its call site