Optimal Firewood Arrangement