Detailed balance binary tree