off-by-one error in create_wf_vector()

--BRJ and CAR