calculate money to buy tower