divide the war-booty between those who engaged in the war, who went out to the battle, and all the community.