Volume Delay Function Python Format String Binary Tree