Improved combining to make it faster within word_finder function