calculate allocation percentages