fix coin profitability computation