A SMASH PRODUCT CONSTRUCTION OF NONLOCAL VERTEX ALGEBRAS