Fixed i-average-filter

Signed-off-by: Oleg Bulatov <dmage@yandex-team.ru>