simplify AVCC computation