Advancing Blockchain Scalability: A Linear Optimization Framework for Diversified Node Allocation in Shards | Synapse