new algo avg.

N/A

Signed-off-by: achaly <achaly@163.com>