private static int[]makeoffsettable(char[]needle){