calculate theoretical azibazi