optimize full-match boost