Add switch for finding only the first code of a given length