more efficient word chains