Allow more precise rate target

Change-Id: I4ac34c0afd3094df3922e47da91c4899ae5ce724
diff --git a/av1/encoder/encoder_utils.c b/av1/encoder/encoder_utils.c
index 07f4722..415799e 100644
--- a/av1/encoder/encoder_utils.c
+++ b/av1/encoder/encoder_utils.c
@@ -738,6 +738,9 @@
   if (is_stat_consumption_stage_twopass(cpi) &&
       cpi->sf.hl_sf.static_segmentation)
     configure_static_seg_features(cpi);
+
+  if (cpi->oxcf.rc_cfg.over_shoot_pct == 0) *top_index = MAXQ;
+  if (cpi->oxcf.rc_cfg.under_shoot_pct == 0) *bottom_index = MINQ;
 }
 
 #if !CONFIG_REALTIME_ONLY