start generating the correct length key