calculate allocation recursively using example scenario
repackage, add organization and department
missed some in the commit