added calculation to crowdsale to not exceed max # of tokens issuable