try to upd barret alg
upd barret reduction
upd barret reduction
upd barret reduction