add all word within k distance