shortest repetition