extended AB estimation to multiallelics