avoid LTR reference frames overflow