flatten BT to LL