statistic generator and motion vector prediction added.