fixed sk-strings generation to take into account sk-strings whose length is less than k but end in an accepting state.