Swift Sum-tree Resources