change the shortest code length to 8