Optimal Data Allocation for Processor-Tree Architectures